<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<div class="news_share panel left">
	<div class="hd">
		<h2>
			好文推荐
		</h2>
	</div>
	<div class="bd">
		<ul class="news_dom">
			<s:iterator value="newsList" id="news">
				<li>
					<h3>
						<a href='<s:url action="showLopNews" ><s:param name="id" value="id" /></s:url>'> ${title} </a>
						<span class="time"> 
							  <s:if test="%{#resource.type == 1}">
    										公告
                              </s:if> 
                              <s:if test="%{#resource.type == 2}">
                                                                                                                      新闻                                                                          
       	                      </s:if>
						</span>
						
						
						<span class="time"> 
						<s:date name='gmtModify' format='yyyy-MM-dd'/>
						</span>
					</h3>
					
					<p>
						<span class="time"> 
						 作者：${author}
						</span>
					</p>
					<p>
						<span class="time"> 
						 关键词：${keyWords}
						</span>
					</p>
					<P>
						 ${outline} 
					</P>
				</li>
			</s:iterator>

		</ul>
	</div>
</div>
<div class="clear"></div>